<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>editorl.html</title>

		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<script type="text/javascript" src="fckeditor.js">
</script>
		<script type="text/javascript">
window.onload = function() {
	 var pathname=window.location.pathname;
    var arr=pathname.split("/");
    var proName=arr[1];
	alert(proName);
	//var sBasePath = document.location.href.substring(0, document.location.href
			//.lastIndexOf('_samples'));
	var fckeditor = new FCKeditor('FCKeditor1');
	//fckeditor.BasePath = sBasePath;
	fckeditor.BasePath = "fckeditor/";
	fckeditor.ToolbarSet="Custom";
	fckeditor.ReplaceTextarea();
}
</script>
	</head>

	<body>
		This is my HTML page. in tt 
		<br>
		<form action="../php/sampleposteddata.php" method="post"
			target="_blank">
			<div>
				<textarea name="FCKeditor1" rows="10" cols="80"
					style="width: 100%; height: 200px">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.&lt;/p&gt;</textarea>
			</div>
			<br />
			<input type="submit" value="Submit" />
		</form>
	</body>
</html>
